﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NextCMS.Models
{
    public class SiteResourceModel
    {
        public int Id { get; set; }
        public int SiteId { get; set; }
        public string Name { get; set; }
        public string FolderName { get; set; }
    }
    public interface ISiteResource : IDisposable
    {
        SiteResourceModel GetById(int Id);
        IEnumerable<SiteResourceModel> GetAllBySiteId(int SiteId);
        IEnumerable<SiteResourceModel> GetAll();
        int Save(SiteResourceModel page);
        void Delete(int id);
        void Edit(SiteResourceModel page);
    }
}
